Feature: Como usuario puedo crear una nueva pagina, ver la pagina en la lista de paginas, editarla
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
1
|
|
||||
| Total duration: | |||||
| 1m 43.005s |
Scenario: Como usuario inicio sesion con credenciales correctas, creo una pagina, luego la veo en la lista de paginas, luego la edito, confirmo que existe con su nuevo nombre, luego la elimino.
Before
0m 0.638s
Given
I navigate to page "<HOST>"
0m 5.461s
And
I wait for 2 seconds
0m 2.318s
When
I login with correct credentials "<EMAIL>" "<PASSWORD>"
0m 0.695s
And
I wait for 2 seconds
0m 2.457s
And
I go to pages screen
0m 1.893s
When
I select go to the page form
0m 0.994s
And
I fill the title "Example page" and description
0m 0.562s
And
I open-close the page settings
0m 0.930s
And
I fill a page url "example"
0m 0.332s
And
I open-close the page settings
0m 0.853s
And
I publish the page
0m 0.463s
And
I confirm the publish page
0m 5.490s
And
I wait for 2 seconds
0m 2.397s
And
I return to the dashboard
0m 1.032s
And
I wait for 2 seconds
0m 2.495s
And
I go to pages screen
0m 2.071s
And
I wait for 2 seconds
0m 2.325s
Then
I check exist the page with name "Example page"
0m 0.299s
And
I wait for 2 seconds
0m 2.318s
And
I open the page with name "Example page"
0m 0.323s
And
I edit the title with the name "Page with TAG"
0m 0.868s
And
I open-close the page settings
0m 0.920s
And
I choose a Tag
0m 4.867s
+ Show Error
Error: Can't call click on element with selector ".//*//li[text() = 'Add ']" because element wasn't found
at implicitWait (/Users/felipev9/Documents/Felipe-Dev/MAESTRIA_UNIAND/TEST-AUTOMATED/week-6/ghost-e2e/kraken-tests/v3.42.4/node_modules/webdriverio/build/utils/implicitWait.js:34:19)
at async Element.elementErrorHandlerCallbackFn (/Users/felipev9/Documents/Felipe-Dev/MAESTRIA_UNIAND/TEST-AUTOMATED/week-6/ghost-e2e/kraken-tests/v3.42.4/node_modules/webdriverio/build/middlewares.js:20:29)
at async Element.wrapCommandFn (/Users/felipev9/Documents/Felipe-Dev/MAESTRIA_UNIAND/TEST-AUTOMATED/week-6/ghost-e2e/kraken-tests/v3.42.4/node_modules/@wdio/utils/build/shim.js:136:29)
at async KrakenWorld.<anonymous> (/Users/felipev9/Documents/Felipe-Dev/MAESTRIA_UNIAND/TEST-AUTOMATED/week-6/ghost-e2e/kraken-tests/v3.42.4/features/web/step_definitions/step.js:162:12)
And
I wait for 2 seconds
0m 0.000s
And
I open-close the page settings
0m 0.000s
And
I update the page
0m 0.000s
And
I wait for 2 seconds
0m 0.000s
And
I return to the pages screens
0m 0.000s
And
I wait for 2 seconds
0m 0.000s
And
I open the page with name "Page with TAG"
0m 0.000s
And
I open-close the page settings
0m 0.000s
And
I deleted the page
0m 0.000s
And
I wait for 2 seconds
0m 0.000s
Then
I check not exist the page with name "Page with TAG"
0m 0.000s
After
0m 0.004s
Screenshots
Before
NO IMAGE AVAILABLE
Given
I navigate to page "<HOST>"
And
I wait for 2 seconds
When
I login with correct credentials "<EMAIL>" "<PASSWORD>"
And
I wait for 2 seconds
And
I go to pages screen
When
I select go to the page form
And
I fill the title "Example page" and description
And
I open-close the page settings
And
I fill a page url "example"
And
I open-close the page settings
And
I publish the page
And
I confirm the publish page
And
I wait for 2 seconds
And
I return to the dashboard
And
I wait for 2 seconds
And
I go to pages screen
And
I wait for 2 seconds
Then
I check exist the page with name "Example page"
And
I wait for 2 seconds
And
I open the page with name "Example page"
And
I edit the title with the name "Page with TAG"
And
I open-close the page settings
And
I choose a Tag
And
I wait for 2 seconds
NO IMAGE AVAILABLE
And
I open-close the page settings
NO IMAGE AVAILABLE
And
I update the page
NO IMAGE AVAILABLE
And
I wait for 2 seconds
NO IMAGE AVAILABLE
And
I return to the pages screens
NO IMAGE AVAILABLE
And
I wait for 2 seconds
NO IMAGE AVAILABLE
And
I open the page with name "Page with TAG"
NO IMAGE AVAILABLE
And
I open-close the page settings
NO IMAGE AVAILABLE
And
I deleted the page
NO IMAGE AVAILABLE
And
I wait for 2 seconds
NO IMAGE AVAILABLE
Then
I check not exist the page with name "Page with TAG"
NO IMAGE AVAILABLE
After
NO IMAGE AVAILABLE